<template>
  <div class="home-container">
    <div class="banner">
      <h1 class="banner-title">关于</h1>
    </div>
    <div>
      <el-card class="cardbg">
        <div class="link-title" style="font-size: 24px">#作者有话说~~~哦QAQ！</div>
        <blockquote>
          <div>{{ message.talk1 }}</div>
          <div>{{ message.talk2 }}</div>
          <div>{{ message.talk3 }}</div>
          <div>{{ message.talk4 }}</div>
          <div>
            <div>
              <img
                src="http://img.xiyblog.cn/%E5%AF%BC%E8%88%AA/%E7%B2%BE%E5%9B%BE/20.jpg"
                alt=""
                class="ptwo"
              />
            </div>
            <p>副站链接：</p>
            <a href="https://reganblog.club/">https://reganblog.club/</a>
          </div>
        </blockquote>
      </el-card>
    </div>

    <div class="card-container">
      <el-card class="cardbg">
        <h1>评论区</h1>
        <Valine></Valine>
      </el-card>
    </div>
  </div>
</template>

<script>
import Valine from "valine";
export default {
  name: "About",
  components: {
    Valine: () => import("@/components/Valine.vue"),
  },
  data() {
    return {
      message: {
        talk1: "本篇博客是为我的毕设个人博客项目。",
        talk2:
          "此时是二月末，项目做到这里已经非常满足了，我成功把一个博客从开头的简洁做成如今能看的模样了",
        talk3:
          "当然还有很多功能没做出来，像评论留言、聊天说说、星空背景等。后端写不来啦55555~~~",
        talk4:
          "博客还会继续更新完善，虽然也不会再多做多久，毕竟是个自己做的好项目！这里写不太会，不过我还有副站！",
      },
    };
  },
};
</script>

<style scoped>

h1{
    display: flex;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 8px;
    color: #2ba1d1;
}

.ptwo {
  width: 600px;
  height: 300px;
  /* border: 1px solid red; */
}
blockquote {
  line-height: 2;
  margin: 0;
  font-size: 15px;
  border-left: 0.2rem solid #49b1f5;
  padding: 10px 1rem !important;
  background-color: #ecf7fe;
  border-radius: 4px;
}
.link-title {
  color: #344c67;
  font-size: 21px;
  font-weight: bold;
  line-height: 2;
}
.card-container {
  overflow-x: hidden;
}
.cardbg {
  /* background-color: #eee; */
  opacity: 0.8;
  height: 100%;
  /* display: flex;
  flex-direction: column; */
  position: relative;
  animation: main 1s;
  max-width: 951px;
  padding: 50px 40px;
  margin: 26px auto 17px auto;
}
.banner {
  /* position: absolute; */
  background-color: #49b1f5 !important;
  top: -60px;
  left: 0;
  right: 0;
  height: 320px;
  animation: header-effect 1s;
  opacity: 0.8;
  background: url("http://img.xiyblog.cn/%E5%AF%BC%E8%88%AA/other/ot1%20%281%29.jpg")
    center center / cover no-repeat;
}
.banner-title {
  animation: title-scale 1s;
  position: absolute;
  top: 11.5rem;
  padding: 0 0.5rem;
  width: 100%;
  font-size: 2.5rem;
  text-align: center;
  color: #eee;
}
.carimg {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  object-fit: cover;
  /* opacity: 0.8; */
  /* position: fixed; */
  z-index: -9;

  /* top: -60px; */
}
.home-container {
  z-index: -9;
  /* height: 100%; */
  width: 100%;
  overflow: auto;
  /* overflow-y: scroll; */
  /* position: absolute; */
}
</style>
